package BE;

import java.util.EventListener;

/**
 * Custom event listener interface, for defining NXT events.
 * 
 * @author Danny Johansen, Didzis Petkus, Liviu Berheci.
 *
 */
public interface NXTListener extends EventListener {

	/**
	 * Fires an event indicating that a NXT device has been discovered.
	 * 
	 * @param event - the {@link NXTConnectionEvent} event object
	 * to send with event.
	 */
	public void NXTDiscovered(NXTConnectionEvent event);

	/**
	 * Fires an event indicating that data has been received
	 * from a connected device.
	 * @param event - the {@link NXTDataEvent} event object to send with
	 * the event.
	 */
	public void NXTMapDataReceived(NXTDataEvent event);
}
